package baseFx.common.services;

import baseFx.common.EventArgs;

public class ServiceObjectErrorArgs extends EventArgs {
    private ServiceObject instance;
    private ServiceContext context;
    private Throwable error;

    public ServiceObject getInstance() {
        return instance;
    }

    public ServiceContext getContext() {
        return context;
    }

    public Throwable getError() {
        return error;
    }

    ServiceObjectErrorArgs(ServiceObject so, ServiceContext sc, Throwable ex) {
        instance = so;
        context = sc;
        error = ex;
    }

}
